namespace * com.gdl.newagk.dataobject.adminuser

#安管控用户DTO
struct UserRequestDTO {
    1:required i32 id,
    2:required i32 type,
    3:required string field,
}
struct UserDTO {
    1:required i32 id,
    2:required i32 type,
    3:required string update,
    4:required string where,
    5:required string join,
    6:required string field,
	7:required i32 offset,
	8:required i32 num,
	9: optional map<string,string> data
}

#注册信息请求
struct RegisterRequestDTO{
    1: required string username,
    2: required string truename,
    3: string email
    4: string mobile #手机号
    5: i32 department, #部门ID
    6: string career, #岗位
    7: i32 status, #状态
    8: string note, #备注
    9: string password,
    10: i32 groupid,
    11: i32 projectid,#项目ID
    12: i32 companyid,#公司ID
    13: string companyname,#公司名称
    14: string userid,#member表userid
    15: i32 scores,#积分
    16: map<string,string> info,
    17: string idcard, #身份证
    18: i32 way, #渠道 :1.AGK 2.干电力主网账号 3:电力一线
    19: i32 account_type, #账户类型 1:个人账户 2：企业账户 
	20: required string code, 
}